﻿using System.Net.Http;

namespace MyCard.Services.Utils.HttpClient
{
    public delegate HttpClientHandler HttpClientHandlerFactory();
    public interface IHttpClientFactory
    {
        System.Net.Http.HttpClient Get();
        System.Net.Http.HttpClient Get(HttpMessageHandler handler);

        HttpMessageHandler Handler { get; }

        HttpClientHandlerFactory HttpClientHandlerFactory { set; }
    }
}
